<?php
/**
 * Created by PhpStorm.
 * User: sks
 * Date: 2015/12/15
 * Time: 13:49
 */

class Involved_AdsModel extends BaseModel{

    protected $table = 'ads';

    /**
     * 广告位列表
     * @return mixed
     */
    public function AdsList()
    {
        return  DB::table($this->table)->get();
    }

    public function GetAdsInfo($ads_id)
    {
        return DB::table($this->table)->where('ads_id',$ads_id)->first();
    }


}